<?php

    include '../../Include/IncludeSecure.php';

    $plantillaINFO = new Panel( "../View/Html/InfoProveedor.html" );

    try {
                $proveedorLogica = FabricaComando::crearConsultarProveedor( $_GET['PRV_ID'] );
            } catch ( ProveedorLogicaException $Ex ) {
                new ExceptionHandler( $Ex );
            }


    $proveedor = $proveedorLogica->hacer();
    $plantillaINFO->add( $proveedor->toArray());

    $plantillaINFO->show();

?>